<?php
function gender($k=null){
	$v=array('Male','Female');
	if($k==null){
		return $v;
	}else{
		return $v[$k];
	}
}
function get_admin_id(){
	return $_SESSION['admin']['id'];
}
function show_time($start_time,$end_time){
	$spend_time=$end_time-$start_time;
	return round($spend_time/3600,2);
}